import { GTileList } from "../../../../com/mui/controls/GTileList";
import { DataProvider } from "../../../../fl/data/DataProvider";
import { InvalidationType } from "../../../../fl/core/InvalidationType";
//class AutoHeightTileList
    
    export  class AutoHeightTileList extends GTileList
    {
        constructor()
        {
            super();
            return;
        }

        public /* override */ set dataProvider(arg1: DataProvider)
        {
            super.dataProvider = arg1;
            this.height = arg1.length * this._rowHeight;
            invalidate(InvalidationType.SIZE);
            return;
        }
    }
